package io.datastream;

import java.io.DataOutputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class RootsFile {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		DataOutputStream dout = null;
		FileOutputStream fout = new FileOutputStream("roots.dat");
		dout = new DataOutputStream(fout);
		for (int i = 0; i <= 1000; i ++) {
			dout.writeDouble(Math.sqrt(i));
		}
		dout.flush();
		dout.close();
		
		
	}

}
